Skip to content

Conversation

gzliudan
Copy link
Contributor

In some special cases, function transferFrom's parameters _from and _to are same account, then the condition newBalance == existingBalance.add(_quantity) is not met. So we need to check _from == _to also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant